LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

include includeOpenCV.mk
ifeq ("$(wildcard $(OPENCV_MK_PATH))","")
	#try to load OpenCV.mk from default install location
	include /cygdrive/f/android_opencv_android_ndk4_crystax/OpenCV-2.3.1-android-bin/OpenCV-2.3.1/share/OpenCV/OpenCV.mk
else
	include $(OPENCV_MK_PATH)
endif

LOCAL_MODULE    := cyy_opencv_detect
LOCAL_SRC_FILES := detect.cpp
LOCAL_LDLIBS +=  -llog -ldl
LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog

include $(BUILD_SHARED_LIBRARY)
